import http from "./http.js";
//获取手机验证码
export const getCodeApi=(obj)=>http.postData("/users/getCode",obj);
//注册成功
export const successRegistry=(obj)=>http.postData("/users/register",obj);
//用户登录
export const userLoginApi=(obj)=>http.postData("/users/login",obj);
//获取用户信息
export const getUserInfoApi=(obj)=>http.postData("/users/get",obj);
//轮播图
export const getBannerList=(obj)=>http.getData("/banner/list",obj);
//修改用户信息
export const modifyUserInfo=(obj)=>http.postData("/users/update",obj);
//搜索
export const getSearchList=(obj)=>http.postData("/home/search",obj);
//分类
export const getClassifyList=(obj)=>http.postData("/home/classify",obj);
//详情
export const getDetailInfo=(obj)=>http.postData("/detail/info",obj);
//首页列表
export const getIndexList=(obj)=>http.postData("/home/list",obj);
//企业认证post
export const getEnterpriseInfo=(obj)=>http.postData("/users/enterprise",obj);
//货单列表
export const getManiFestApi=(obj)=>http.postData('/detail/info',obj);
//浏览记录列表
export const getHistoryApi=(obj)=>http.postData('/home/histroy',obj);

